Show Deadlines in Assignment List #1909
Open
+176
−14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this PR, we introduce a workaround for storing and displaying deadlines to students, which fixes #943.
Currently, the due date is stored in the Gradebook and inaccessible in the student's view. To tackle this issue, we store the deadlines in a file in the exchange (fs-based) at a configured path as well. This allows us to display the deadlines in a new column within the AssignmentList. The solution respects the existing configurations for time zones and group sharing.
Moreover, the Submit button now triggers a dialog that asks for confirmation in the case of a late submission.
Note that the deadline file manipulation is attached to API so it will only be set for assignments created/editted after the upgrade. Assignments released before the update won't have deadline files made, and won't be shown to the users (which is fixed by simply pressing the edit button with no changes for each).
According to the feedback received from instructors who use nbgrader, this will enhance the assignment submission and collection processes, and reduce the need for manual intervention.